package cn.hwadee.muying.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 客户信息
 * </p>
 *
 * @author Mankind
 * @since 2018-08-06
 */
@TableName("client_info")
public class ClientInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 推荐职员
     */
    @TableField("presenter_id")
        
    private Long presenterId;
    /**
     * 客户来源
     */
        
    private String source;
    /**
     * 预产期
     */
    @TableField("due_date")
        
    private Date dueDate;
    /**
     * 需求日期
     */
    @TableField("demand_date")
        
    private Date demandDate;
    /**
     * 需求内容
     */
    @TableField("demand_content")
        
    private String demandContent;
    /**
     * 期望城市
     */
    @TableField("expected_city")
        
    private String expectedCity;
    /**
     * 是否为老用户
     */
        
    private Boolean old;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPresenterId() {
        return presenterId;
    }

    public void setPresenterId(Long presenterId) {
        this.presenterId = presenterId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public Date getDemandDate() {
        return demandDate;
    }

    public void setDemandDate(Date demandDate) {
        this.demandDate = demandDate;
    }

    public String getDemandContent() {
        return demandContent;
    }

    public void setDemandContent(String demandContent) {
        this.demandContent = demandContent;
    }

    public String getExpectedCity() {
        return expectedCity;
    }

    public void setExpectedCity(String expectedCity) {
        this.expectedCity = expectedCity;
    }

    public Boolean getOld() {
        return old;
    }

    public void setOld(Boolean old) {
        this.old = old;
    }

    public static final String USER_ID = "user_id";

    public static final String PRESENTER_ID = "presenter_id";

    public static final String SOURCE = "source";

    public static final String DUE_DATE = "due_date";

    public static final String DEMAND_DATE = "demand_date";

    public static final String DEMAND_CONTENT = "demand_content";

    public static final String EXPECTED_CITY = "expected_city";

    public static final String OLD = "old";

    @Override
    public String toString() {
        return "ClientInfo{" +
                ", userId=" + userId +
                ", presenterId=" + presenterId +
                ", source=" + source +
                ", dueDate=" + dueDate +
                ", demandDate=" + demandDate +
                ", demandContent=" + demandContent +
                ", expectedCity=" + expectedCity +
                ", old=" + old +
        "}";
    }
}
